Flair.require('Flair/View.js');

// declare Index Controller
//Flair.Controllers.IndexController = new Flair.Controller();
Flair.Controller = function () {
	this.view = null;
	this.dispatcher = null;
	
	this.setDispatcher = function (dispatcher) {
		this.dispatcher = dispatcher;
	}
	
	this.setView = function (view) {
		this.view = view;
	}
	this.getView = function() { return this.view; }
	
	this.init = function () {
		this.view = new Flair.View();
	}
	this.init();
}